package com.suixiang.wx.enterprise.suite.util;

import java.io.File;

import cn.takujo.common_api.exception.OssException;

public class MyOssDemo {

	public static void main(String[] args) {
		String objectName = "存到oss上的路径，即是将来用oss域名+这个名字进行访问";
		File file = new File("本地文件绝对路径");
		try {
			MyOssUtil.ou.uploadFile("temp/haha.png", new File(
					"C:\\Users\\Administrator\\Desktop\\杂\\测试图片\\3b87e950352ac65c5eb643ddf9f2b21192138ae8.jpg"));
		} catch (OssException e) {
			e.printStackTrace();
		}
	}

}
